package com.sw.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sw.dao.RoleDao;
import com.sw.model.Role;
import com.sw.service.RoleService;
@Service
public class RoleServiceImpl implements RoleService {

	@Autowired
	private RoleDao roleDao;
	
	@Override
	public Role getRoleById(Integer id) {
		
		return roleDao.getRoleById(id);
	}

}
